home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.19960425-19960715 / 000275_news@columbia.edu _Thu Jun 20 18:08:36 1996.msg < prev    next >
Internet Message Format  |  2020-01-01  |  3KB

  1. Return-Path: news@columbia.edu
  2. Received: from apakabar.cc.columbia.edu (apakabar-ether.cc.columbia.edu [128.59.40.159]) by watsun.cc.columbia.edu (8.7.5/8.7.3) with ESMTP id SAA19924 for <kermit.misc@watsun.cc.columbia.edu>; Thu, 20 Jun 1996 18:08:35 -0400 (EDT)
  3. Received: (from news@localhost) by apakabar.cc.columbia.edu (8.7.5/8.7.3) id SAA13912 for kermit.misc@watsun; Thu, 20 Jun 1996 18:08:32 -0400 (EDT)
  4. Path: news.columbia.edu!watsun.cc.columbia.edu!fdc
  5. From: fdc@watsun.cc.columbia.edu (Frank da Cruz)
  6. Newsgroups: comp.protocols.kermit.misc
  7. Subject: Re: DCS String
  8. Date: 20 Jun 1996 22:08:25 GMT
  9. Organization: Columbia University
  10. Lines: 41
  11. Message-ID: <4qci4p$dil@apakabar.cc.columbia.edu>
  12. References: <Pine.A32.3.93.960620082843.16590A-100000@mms.rvh.mcgill.ca>
  13. NNTP-Posting-Host: watsun.cc.columbia.edu
  14.  
  15. In article <Pine.A32.3.93.960620082843.16590A-100000@mms.rvh.mcgill.ca>,
  16. David Pyper  <dpyper@mms.rvh.mcgill.ca> wrote:
  17. : I'm using Kermit95, and when I use telnet to access a legacy application
  18. : on my site, the first screen sends some control codes which puts a the
  19. : following code on the status line:
  20. : DCS STRING
  21. : What is this and how can I get rid of it?
  22. DCS means Device Control String.  It is an escape sequence that starts
  23. out as ESC P (or 8-bit DCS) and ends with String Terminator, ESC \
  24. (or 8-bit ST).
  25.  
  26. When a DCS arrives, the terminal reads characters until the ST comes,
  27. then it interprets the intervening characters and executes them as a
  28. command.
  29.  
  30. But what happens if the ST never comes?  The terminal is hung forever,
  31. until you reset it.  Try this on a real VT220 or 320 to see what I mean.
  32.  
  33. How can this happen?  Either your host is sending improper escape sequences
  34. (such as an unterminated DCS), or there is a disagreement between Kermit's
  35. terminal type and the type of terminal the host thinks you have (e.g. ESC P
  36. might be a valid sequence for some other terminal type), or the DCS lead-in
  37. was spontaneously generated as communications-line noise.
  38.  
  39. A nice feature of Kermit 95 is that it tells you (in the status line)
  40. when a DCS has been received.  That way, if the ST never comes, you'll
  41. know what's going on and you can (for example) push the "reset button"
  42. (verb \Kreset, assigned to Alt-R by default) to get back to normal.
  43. (Or, if more than about 4K of stuff arrives after DCS but before the ST,
  44. Kermit 95 breaks out of "DCS wait" automatically.)
  45.  
  46. How do you make it stop happening?  If the host is sending ESC P or 8-bit
  47. DCS to a terminal that it thinks is a VT220 or 320, without sending a
  48. the matching ST, then reconfigure your host not to do that -- it's wrong.
  49.  
  50. For further assistance, send a session log to kermit-support@columbia.edu.
  51.  
  52. - Frank